<?php
if(!defined('app_name')) die('Error entrance.');
header("Content-type:text/html; charset=utf-8");
require("./app/config.php");
require("./app/common.php");
require("./app/smarty/Smarty.class.php");
require("./app/include/Db.class.php");
require("./app/include/App.class.php");
require("./app/include/Snoopy.class.php");
require("./app/include/Http.class.php");

//执行模块
$app = new App();
$app->run();
?>